<div id="addGovCompanyModel" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel"
  aria-hidden="true">
  <div class="modal-dialog modal-lg">
    <div class="modal-content">
      <div class="modal-body">
        <h3 class="m-t-none m-b ">添加{{addGovCompanyInfo.companyType == '1001'?'组织':'企业'}}</h3>
        <div class="ibox-content">
          <div>
            <div>
              <div class="form-group row">
                <label class="col-sm-2 col-form-label">周边小区</label>
                <div class="col-sm-6">
                  <select class="custom-select" v-model="addGovCompanyInfo.govCommunityId">
                    <option selected disabled value="">必填，请选择周边小区</option>
                    <option v-for="(item,index) in addGovCompanyInfo.govCommunitys" :value="item.govCommunityId">
                      {{item.communityName}}</option>
                  </select>
                </div>
              </div>
              <div class="form-group row">
                <label class="col-sm-2 col-form-label">{{addGovCompanyInfo.companyType == '1001'?'组织':'企业'}}名称</label>
                <div class="col-sm-4">
                  <input v-model="addGovCompanyInfo.companyName" type="text" placeholder="必填，请填写名称"
                    class="form-control">
                </div>
              </div>

              <div class="form-group row">
                <label class="col-sm-2 col-form-label">公司类型</label>
                <div class="col-sm-4">
                  <select class="custom-select" disabled="disabled" v-model="addGovCompanyInfo.companyType">
                    <option selected disabled value="">必填，请选择公司类型</option>
                    <option value="1001">社会组织</option>
                    <option value="2002">企业</option>
                  </select>
                </div>
                <label class="col-sm-2 col-form-label">证件号码</label>
                <div class="col-sm-4">
                  <input v-model="addGovCompanyInfo.idCard" type="text" placeholder="必填，请填写证件号码" class="form-control">
                </div>
              </div>

              <div class="form-group row">
                <label class="col-sm-2 col-form-label">法人</label>
                <div class="col-sm-4">
                  <input v-model="addGovCompanyInfo.artificialPerson" type="text" placeholder="必填，请填写法人"
                    class="form-control">
                </div>
                <label class="col-sm-2 col-form-label">地址</label>
                <div class="col-sm-4">
                  <input v-model="addGovCompanyInfo.companyAddress" type="text" placeholder="必填，请填写地址"
                    class="form-control">
                </div>
              </div>

              <div class="form-group row">
                <label class="col-sm-2 col-form-label">注册时间</label>
                <div class="col-sm-4">
                  <input v-model="addGovCompanyInfo.registerTime" type="text" placeholder="必填，请填写注册时间"
                    class="form-control addRegisterTime">
                </div>
                <label class="col-sm-2 col-form-label">负责人</label>
                <div class="col-sm-4">
                  <input v-model="addGovCompanyInfo.personName" type="text" placeholder="必填，请填写负责人"
                    class="form-control">
                </div>
              </div>

              <div class="form-group row">
                <label class="col-sm-2 col-form-label">负责人身份证</label>
                <div class="col-sm-4">
                  <input v-model="addGovCompanyInfo.personIdCard" type="text" placeholder="必填，请填写负责人身份证"
                    class="form-control">
                </div>
                <label class="col-sm-2 col-form-label">负责人电话</label>
                <div class="col-sm-4">
                  <input v-model="addGovCompanyInfo.personTel" type="text" placeholder="选填，请填写负责人电话"
                    class="form-control">
                </div>
              </div>

              <div class="form-group row">
                <label class="col-sm-2 col-form-label">备注</label>
                <div class="col-sm-10">
                  <textarea placeholder="必填，请填写备注" class="form-control" v-model="addGovCompanyInfo.ramark"></textarea>
                </div>
              </div>

              <div class="ibox-content">
                <button class="btn btn-primary float-right" type="button" v-on:click="saveGovCompanyInfo()"><i
                    class="fa fa-check"></i>&nbsp;保存</button>
                <button type="button" class="btn btn-warning float-right" style="margin-right:20px;"
                  data-dismiss="modal">取消</button>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>